﻿<Pagination PageCount="30" OnPageLinkClick="@OnPageClick" />
<ConsoleLogger @ref="Logger" class="mt-3" />

@code {
    [NotNull]
    private ConsoleLogger? Logger { get; set; }

    private Task OnPageClick(int pageIndex)
    {
        Logger.Log($"PageIndex: {pageIndex}");
        return Task.CompletedTask;
    }
}
